﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MossDAL.DotNet;

namespace MossDAL.Samples
{
    [SharepointListName("sites gallery")]
    public class SiteGalleryListItem : SharepointListItem
    {
        //  <FieldRef Name='Title' />
        //  <FieldRef Name='project' />
        //  <FieldRef Name='client' />
        //  <FieldRef Name='ImageWidth' />
        //  <FieldRef Name='ImageHeight' />
        //  <FieldRef Name='Description' />
        //  <FieldRef Name='show_x0020_in_x0020_viewer' />
        //  <FieldRef Name='display_x0020_order' />
        //  <FieldRef Name='url' />

        [SharepointListField("project")]
        public string project { get; set; }

        [SharepointListField("client")]
        public string client { get; set; }

        [SharepointListField("ImageWidth")]
        public string ImageWidth { get; set; }

        [SharepointListField("ImageHeight")]
        public string ImageHeight { get; set; }

        [SharepointListField("Description")]
        public string Description { get; set; }

        [SharepointListField("url")]
        public string url { get; set; }

        [SharepointListField("display_x0020_order")]
        public string DisplayOrder { get; set; }

        [SharepointListField("show_x0020_in_x0020_viewer")]
        public string ShowInViewer { get; set; }

        [SharepointListField("ID")]
        public int? ID { get; set; }

        [SharepointListField("Title")]
        public String Title { get; set; }
    }
}
